package com.zpark.dto;

import lombok.Data;
import lombok.Setter;

import java.util.Date;

@Data
public class AppointmentQueryDTO {
    private Integer patientId;
    private String doctorId;
    private String status;
    // setter 方法保持接收String类型
    @Setter
    private String consultationType;
    private Date startDate;
    private Date endDate;
    private String searchQuery;
    private Integer pageNum = 1;
    private Integer pageSize = 10;

    public void setConsultationType(String consultationType) {
        this.consultationType = consultationType;
    }
}